<?php

namespace app\service;

use app\popo\vo\BusinessDataVO;
use app\popo\vo\DishOverViewVO;
use app\popo\vo\OrderOverViewVO;
use app\popo\vo\SetmealOverViewVO;

/**
 * 工作台服务接口
 */
interface WorkspaceService
{
    /**
     * 根据时间段统计营业数据
     * @param string $begin 开始时间
     * @param string $end 结束时间
     * @return BusinessDataVO
     */
    public function getBusinessData(string $begin, string $end): BusinessDataVO;

    /**
     * 查询订单管理数据
     * @return OrderOverViewVO
     */
    public function getOrderOverView(): OrderOverViewVO;

    /**
     * 查询菜品总览
     * @return DishOverViewVO
     */
    public function getDishOverView(): DishOverViewVO;

    /**
     * 查询套餐总览
     * @return SetmealOverViewVO
     */
    public function getSetmealOverView(): SetmealOverViewVO;
}